package cn.heycm.blog.api.console.article;

import cn.heycm.blog.api.console.article.vo.AdminArticleVO;
import cn.heycm.blog.common.entity.constant.Constant;
import cn.heycm.blog.common.entity.result.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 文章API
 *
 * @author hey
 * @version 1.0
 * @since 2024/9/26 16:36
 */
@RequestMapping(Constant.API_CONSOLE + "/adminArticle")
public interface AdminArticleApi {

    @GetMapping("/{articleId}")
    Result<AdminArticleVO> find(@PathVariable Long articleId);

}
